package com.ourteam.product.model.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 IRKT 2017
 * Auto Generate Date : 2017-11-17 11:00:47
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductModelBaseRelateDAO extends IDataAccessInterface<ProductModelBaseRelate, ProductModelBaseRelateDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_MODEL_BASE_RELATE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_MODEL_BASE_RELATE.ID";

    /**
     * Mapped Field MODEL_BASE_ID
    */
    static final String ModelBaseId = "PRODUCT_MODEL_BASE_RELATE.MODEL_BASE_ID";

    /**
     * Mapped Field MODEL_DOMAIN_ID
    */
    static final String ModelDomainId = "PRODUCT_MODEL_BASE_RELATE.MODEL_DOMAIN_ID";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_MODEL_BASE_RELATE.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_MODEL_BASE_RELATE.REMARKS";

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductModelBaseRelate findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute modelBaseId
         */
        static final String ModelBaseId = "modelBaseId";

        /**
         * Attribute modelDomainId
         */
        static final String ModelDomainId = "modelDomainId";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
